CVE-2023-1999
Use after free in libwebp
Description
There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free.
INFO
Published Date :
June 20, 2023, 12:15 p.m.
Last Modified :
Feb. 13, 2025, 5:16 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update the affected libwebp and/or libwebp-devel packages.
- Update the affected Firefox and Thunderbird packages.
- Upgrade to Mozilla Firefox version 112.0 or later.
- Upgrade to Mozilla Thunderbird version 102.10 or later.
Public PoC/Exploit Available at Github
                                            CVE-2023-1999 has a 2 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-1999.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-1999 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-1999
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
C
None
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-1999 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-1999 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by [email protected]Feb. 13, 2025 Action Type Old Value New Value Changed Description There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free. There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free. 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://chromium.googlesource.com/webm/libwebp Added Reference https://security.gentoo.org/glsa/202309-05 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Sep. 17, 2023 Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202309-05 [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jul. 05, 2023 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://chromium.googlesource.com/webm/libwebp No Types Assigned https://chromium.googlesource.com/webm/libwebp Product Added CWE NIST CWE-415 Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:a:webmproject:libwebp:*:*:*:*:*:*:*:* versions from (including) 0.4.2 up to (excluding) 1.3.1 
Vulnerability Scoring Details
Base CVSS Score: 7.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.44 }} -0.04%
score
0.62422
percentile
 
                         
                         
                         
                                             
                                            